<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Reckoning
Description: A two-column, fixed-width design for 1024x768 screen resolutions.
Version    : 1.0
Released   : 20090629

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Reckoning by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>

<p id="notice"><%= notice %></p>

<p>
  <b>Peak Start:</b>
  <%= @utility_setting.peak_start.strftime("%X") %>
</p>

<p>
  <b>Peak End:</b>
  <%= @utility_setting.peak_end.strftime("%X") %>
</p>

<p>
  <b>Peak Price:</b>
  <%= @utility_setting.peak_price %>
</p>

<p>
  <b>Off-Peak Price:</b>
  <%= @utility_setting.off_peak_price %>
</p>

<p>
  <b>Override Level:</b>
  <%= if @utility_setting.override_lvl == 1
  		'Engage Full Control'
  	  elsif @utility_setting.override_lvl == 2
  	  	'Engage Control Over Priority 2 & 3'
  	  elsif @utility_setting.override_lvl == 3
  	  	'Engage Control Over Priority 3'
  	  elsif @utility_setting.override_lvl == 4
  	  	'Override Off'
  	  end %>
</p>
<!--
<p>
  <b>Override Status:</b>
  <%= @utility_setting.OR_status %>
</p>
-->

<%= link_to 'Edit', edit_utility_setting_path(@utility_setting) %> |
<%= link_to 'Back', utility_settings_path %>

</body>
</html>
